using Map;
using MoonFramework.Template;
using Sirenix.OdinInspector;
using UnityEngine;

namespace Config
{
    [CreateAssetMenu(fileName = "地图物体配置", menuName = "Config/地图物品配置")]
    public class MapObjectConfig : BaseConfig
    {
        [LabelText("空")] public bool isEmpty;
        [LabelText("图标")] public Sprite MapIconSprite;
        [LabelText("图标Icon尺寸,0代表不生成Icon")] public float IconSize = 1;
        [LabelText("所在的顶点类型")] public MapVertexType MapVertexType;
        [LabelText("销毁天数, -1代表不会销毁")] public int DestroyDays = -1;
        [LabelText("生成概率 权重")] public int Probability;
        [LabelText("描述"), MultiLineProperty] public string Description;
    }
}